package ooday01;
/**学生类的测试*/
public class StudentTest {
    public static void main(String[] args) {

        //创建一个学生对象
    Student zs =new Student();
    zs.name="张三";
    zs.age=28;
    zs.className="jsd2302";
    zs.stuId="123";
    //调用方法
        zs.study();
        zs.sayHi();
        zs.playWith("王五");

        Student ww =new Student();
       ww.study();
       ww.sayHi();
       ww.playWith("张三");

    }

}
